NDepend.API Documentation
ToMilliseconds(Nullable<Byte>) Method
NDepend.Helpers Namespace > ExtensionMethodsTimeSpan Class > ToMilliseconds Method : ToMilliseconds(Nullable<Byte>) Method
The number of milli-seconds.
Gets a System.TimeSpan value, with total number of milli-seconds equals to nullableNbMilliseconds.
Syntax
[Extension()]
public static TimeSpan ToMilliseconds( 
   Nullable<byte> nullableNbMilliseconds
)

Parameters

nullableNbMilliseconds
The number of milli-seconds.
Remarks
if nullableNbMilliseconds is null, System.TimeSpan.System.TimeSpan.Zero is returned.
Requirements

Target Platforms: Windows 11, 10, 8, 7and Linux, MacOS with net10.0, net9.0 or net8.0 installed

See Also

Reference

ExtensionMethodsTimeSpan Class
ExtensionMethodsTimeSpan Members
Overload List